export default {
	data() {
		return {}
	},
	//分享小程序
	onShareAppMessage(e) {
		if (e.from === 'button') {
			console.log('来自页面内转发按钮')
		} else if (e.from === 'menu') {
			console.log('右上角菜单转发按钮')
		}
		return {
			// 自定义分享内容
			title: '房喜五金建材连锁超市',
			desc: '房喜五金建材连锁超市。',
			path: '/pages/index', // 路径，可传递参数到指定页面
			imageUrl: 'https://rb.biomedical-wh.com/prod-api/profile/upload/static/img/images/userImg/img_service_small_bg.png'
		}
	},
	// 分享到朋友圈
	onShareTimeline() {
		return {
			title: '房喜五金建材连锁超市',
			path: '/pages/index',
			imageUrl: 'https://rb.biomedical-wh.com/prod-api/profile/upload/static/img/images/userImg/img_service_small_bg.png'
		}
	}
}